package com.community.pojo;

import java.util.Date;

public class IntegralLockRecord {
    private Integer id;

    private String username;

    private Double surplus;

    private Integer type;

    private Date createTime;

    private Date updateTime;

    public IntegralLockRecord(Integer id, String username, Double surplus, Integer type, Date createTime, Date updateTime) {
        this.id = id;
        this.username = username;
        this.surplus = surplus;
        this.type = type;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public IntegralLockRecord() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Double getSurplus() {
        return surplus;
    }

    public void setSurplus(Double surplus) {
        this.surplus = surplus;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}